import 'package:share_fit/app/controllers/base/base_controller.dart';

import 'drink_remind_state.dart';

class DrinkRemindLogic extends BaseController {
  final DrinkRemindState state = DrinkRemindState();

  void switchRemind(bool value) {
    state.switchRemind = value;
    update(['drink_remind']);
  }

  void switchDisturb(bool value) {
    state.switchDisturb = value;
    update(['drink_disturb']);
  }

  void setStartTime(String value) {
    state.startTime = value;
    update(['drink_start_time']);
  }

  void setEndTime(String value) {
    state.endTime = value;
    update(['drink_end_time']);
  }

  @override
  String getRemotePath() {
    return "";
  }

  @override
  void initState() {
    // TODO: implement initState
  }

  @override
  void onRemoteEvent(event, method) {
    // TODO: implement onRemoteEvent
  }
}
